[build] Include all target source files
authorJohan Dahlin <johan@gnome.org>
Mon, 22 Feb 2010 20:26:24 +0000 (17:26 -0300)
committerJohan Dahlin <johan@gnome.org>
Mon, 22 Feb 2010 20:26:24 +0000 (17:26 -0300)
Include all target source files when buildin the gir

https://bugzilla.gnome.org/show_bug.cgi?id=610701

gdk/Makefile.am

index e1cd8c71ad74c203a38e691592e689a58e2a9819..4742ea959e706ddbd584ce256df70711015c562c 100644 (file)
@@ -198,7 +198,8 @@ introspection_files = \
                $(gdk_public_h_sources) \
                $(gdk_c_sources) \
         gdkenumtypes.c \
-        gdkenumtypes.h
+        gdkenumtypes.h \
+        $(wildcard $(srcdir)/$(gdktarget)/*.c)
 
 Gdk_2_0_gir_SCANNERFLAGS = --strip-prefix=Gdk --add-include-path=../gdk-pixbuf
 Gdk_2_0_gir_INCLUDES = Gio-2.0 GdkPixbuf-2.0 Pango-1.0